package com.haiyan.demo03_对象的创建和使用;

public class Test {
    public static void main(String[] args) {
        Phone p1=new Phone();
        System.out.println(p1.brand+","+p1.price);

        p1.brand="华为";
        p1.price=1999;
        System.out.println(p1.brand+","+p1.price);

        p1.call("10086");
        p1.sendMessage("10086","请问一下联通客服电话号码是多少?");
    }
}
